<nz-layout>
  <nz-sider [nzWidth]="300">
    <div style="background-color: #fff;padding:5px;height: 100%;overflow: auto;">
      <nz-divider nzText='权力事项清单' nzOrientation="left" style="color:rgb(238, 85, 85);font-weight: bold;font-size: 13px;"></nz-divider>
      <nz-input-group [nzSuffix]="suffixIcon">
        <input type="text" nz-input placeholder="按事项名称筛选..." [(ngModel)]="searchValue" />
      </nz-input-group>
      <ng-template #suffixIcon>
        <i nz-icon nzType="search"></i>
      </ng-template>
      <div [ngStyle]="style">
      <nz-tree [nzSearchValue]="searchValue" [nzData]="nodes" nzShowLine nzExpandAll nzHideUnMatched (nzClick)="nzEvent($event)"> </nz-tree>
    </div>
    </div>
  </nz-sider>
  <nz-content>
    <div style="padding: 5px;background-color:#fff;">
      <nz-divider nzText='权力事项详情' nzOrientation="left" style="color:rgb(238, 85, 85);font-weight: bold;font-size: 13px;"></nz-divider>
      <sf #showSf mode="edit" [schema]="showSchema" [button]="null">
        <div  style="text-align:right;padding-right:5px;">
         <!-- <button nz-button nzType="danger" [disabled]="isCopyDisabled" (click)="copy()"><i nz-icon nzType="copy"></i>子项表单提取</button>-->
        <button nz-button nzType="primary" [disabled]="isAddDisabled" (click)="add()"><i nz-icon nzType="plus"></i>添加表单项</button>
      </div>
      </sf>
      <nz-divider nzText="事项表单明细" nzOrientation="left" style="color:rgb(238, 85, 85);font-weight: bold;font-size: 13px;"></nz-divider>
      <lb-grid #st  [columns]="columns" sname="BDWH_QUERY" [queryparas]="{DAD017: 0}" > 
      </lb-grid>
    </div>
  </nz-content>
</nz-layout>




<nz-modal [(nzVisible)]="isVisible" [nzTitle]="modalTitle" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()" nzWidth="500">
  <sf #addWindow [schema]="addSchema" [formData]="formData" [button]="null" nzOkText="确定">
  </sf>
</nz-modal>

<nz-modal [(nzVisible)]="showModiWindow" [nzTitle]="modalTitle" (nzOnCancel)="modiHandleCancel()" (nzOnOk)="modiHandleOk()" nzWidth="500">
  <sf #modiWindow [schema]="modiSchema" [formData]="modiFormData" [button]="null" nzOkText="确定">
  </sf>
</nz-modal>









